<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<script type="text/javascript">

	function clearSptOld() {
		$("#sptSelectOldId").val("");
	}
	function clearSptNew() {
		$("#sptSelectNewId").val("");
	}
	function clearStCi() {
		$("#ciIdSelector").val("");
	}
	function assAssectGridSelected(rowid) {
		var rowD = assAssectGrid.getRowData(rowid);
		$("#ciIdSelector").val(rowD.code);
		$("#ciId").val(rowD.id);
	}
	function formatSelector(rowObject, gridId) {
		return "<a href='javascript:void(0);' onclick=\"" + gridId
				+ "Selected('" + rowObject.id + "','" + rowObject.name
				+ "')\">[选择]</a>";
	}
	function formatCiName(rowObject) {
		return "<a href=\"javascript:isperp.openDialog({contentUrl:'configuration/ci/edit?readonly=true&id="
				+ rowObject.id + "'});\">" + rowObject.name + "</a>";
	}
</script>

<div class="header">
	<h3>事件处理</h3>
</div>

<table class="form-table">
	<tr>
		<td class="td1">解决时间：</td>
		<td class="td2" colspan="3"><input id="solvedDate"
			style="width:250px;" name="solvedDate" type="datetime"
			class="required"
			value="<fmt:formatDate value="${model.solvedDate}"
						pattern="yyyy-MM-dd HH:mm" />">
		</td>
	</tr>

	
	<tr>


		<td class="td1">解决阶段：</td>
		<td class="td2" colspan="3"><isperp:dictSelector
				typeCode="INCIDENT_SOLUTIONSTAGE" name="solutionStage"
				dataWidth="260px" id="solutionStage" hasEmptyValue="false"
				selectedValue="${model.solutionStage}"></isperp:dictSelector>
		</td>
	</tr>

	<tr>
		<td class="td1">原因分析：</td>
		<td class="td2" colspan="3"><textarea id="incidentReasonAnalyze"
				name="reasonAnalyze" class="required">${model.reasonAnalyze}</textarea>
		</td>
	</tr>
	<tr>
		<td class="td1">解决方案：</td>
		<td class="td2" colspan="3"><textarea id="incidentSolutione"
				name="solution" class="required" type="text">${model.solution}</textarea>
		</td>
	</tr>
	<tr>
		<td class="td1">处理过程：</td>
		<td class="td2" colspan="3"><textarea id="handleProcess"
				name="handleProcess" class="" type="text">${model.handleProcess}</textarea>
		</td>
	</tr>

</table>
